package com.cat.visitor;

/**
 * @author cat
 * @version 2025/5/28 14:38
 * @description 具体元素角色(猫)
 * @since JDK17
 */

public class Cat implements Animal {
    @Override
    public void accept(Person person) {
        person.feed(this);
        System.out.println("喵喵喵~~~");
    }
}
